home *** CD-ROM | disk | FTP | other *** search
/ Champak 140 / (Vol 140) Sep 19 2011.iso / Games / world-wars.swf / scripts / DefineSprite_339 / frame_1 / DoAction.as
Text File  |  2011-09-19  |  724b  |  40 lines

  1. function link1()
  2. {
  3.    getUrl("http://www.tagemigames.com/index.php?lang=en", "Top");
  4. }
  5. function link2()
  6. {
  7.    getUrl("http://www.freakytikiproductions.com", "Top");
  8. }
  9. function link3()
  10. {
  11.    getUrl("http://www.addictinggames.com", "Top");
  12. }
  13. tagemi_btn.onRelease = link1;
  14. tagemi_btn.onRollOver = function()
  15. {
  16.    this.gotoAndPlay(2);
  17. };
  18. tagemi_btn.onRollOut = function()
  19. {
  20.    this.gotoAndPlay(9);
  21. };
  22. ft_btn.onRelease = link2;
  23. ft_btn.onRollOver = function()
  24. {
  25.    this.gotoAndPlay(2);
  26. };
  27. ft_btn.onRollOut = function()
  28. {
  29.    this.gotoAndPlay(9);
  30. };
  31. ag_btn.onRelease = link3;
  32. ag_btn.onRollOver = function()
  33. {
  34.    this.gotoAndPlay(2);
  35. };
  36. ag_btn.onRollOut = function()
  37. {
  38.    this.gotoAndPlay(9);
  39. };
  40.